package com.kuang.springcloud.dao;

import com.kuang.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author lenovo
 */
@Mapper
public interface PaymentDao
{
    int create(Payment payment);

    /**
     *
     * @param id Payment的id
     * @return payment
     */
    Payment getPaymentById(@Param("id") long id);
}
